package run.liuli.tran.activity.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@TableName("t_coupon")
@Data
@NoArgsConstructor
public class Coupon implements Serializable {
    private static final long serialVersionUID = 1L;

    public Coupon(Long cmoney, Long uid, Long tid) {
        this.cmoney = cmoney;
        this.uid = uid;
        this.tid = tid;
    }

    @TableId
    private Long cid;

    private Long cmoney;

    private Long uid;

    private Long tid;
}
